package com.os.sys.mapper;

import com.os.sys.pojo.SysUser;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

//import org.springframework.data.repository.query.Param;

//import org.apache.ibatis.annotations.Param;
@Repository
public interface SysUserMapper {
    //按ID查询
	public SysUser selectById(String user_id);
	
	public List<SysUser> selectByParam(Map<String, Object> param);
	//分页查询
	public List<SysUser> selectByPage(Map<String, Object> param);
	
	public int selectCountByParam(Map<String, Object> param);
	
	public SysUser selectByUserName(String user_name);

	//public SysUser selectByUserPhone(Map map);
	
	public int insert(SysUser sysUser);
	
	public int update(SysUser sysUser);
	
	public int deleteById(String user_id);
	
	
}
